﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WeiXinPF.Modules.CDRT.SmartCity.Domain.Models
{
    [Table("cd_message", Schema = "dbo")]
    public partial class Message
    {

        [DatabaseGenerated(DatabaseGeneratedOption.Identity), Required]
        public int message_id { get; set; }

        public int? user_id { get; set; }

        [MaxLength(100)]
        public string user_name { get; set; }

        [MaxLength(255)]
        public string file_path { get; set; }

        [MaxLength(255)]
        public string content { get; set; }

        [MaxLength(11)]
        public string mobile { get; set; }

        [Required]
        public DateTime create_time { get; set; }

        [Required]
        public DateTime update_time { get; set; }

        public int? wid { get; set; }

        [MaxLength(255)]
        public string openid { get; set; }

        [MaxLength(255)]
        public string title { get; set; }

        [MaxLength(18)]
        public string idcard { get; set; }


        [MaxLength(50)]
        public string type_ { get; set; }
        
        public int? status { get; set; }

    }
}

